const path = require("path");
module.exports = {
    entry: {
        "1css": "./css/1.css.js",
        "1js": "./js/1.js"
    },
    output: {
        path: path.resolve(__dirname, "dist"),
        filename: "[name].js"
    },
    module: {
        rules: [
            {
                test: /\.css$/,
                use: ["style-loader", "css-loader"]
            },
            {
                test: /\.(jpe?g|png|gif|webp)$/,
                use: [{
                    loader: "url-loader",
                    options: {
                        limit: 300000
                    }
                }]
            }
        ]
    }
}